#include <iostream>
using namespace std;
class Renthome{

public:
 void virtual renthome()=0;
};

class landlord :public Renthome
{
public:
void virtual renthome()
{
 cout<<"我要出租房子"<<endl;
}


};
class  agency : public Renthome
{
public:
void virtual renthome()
{
   ler.renthome();
   cout<<"我要装修"<<endl;
}

private:
landlord ler;



};
int main()
{
   
agency st;
st. renthome();




}